package com.jfs.constant;

/**
 * @Description sip常量类
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022-08-23
 */
public interface SipConstant {
    /**
     * 初始化sip协议栈工厂 路径名
     */
    String SIP_PATH_NAME = "gov.nist";

    /**
     * SIP栈实体化 栈名称常量
     */
    String SIP_STACK_NAME_KEY = "javax.sip.STACK_NAME";
    String SIP_STACK_NAME_VALUE = "GB28181_SIP";
    /**
     * ip地址
     */
    String SIP_IP_ADDRESS_KEY = "javax.sip.IP_ADDRESS";
    /**
     * 实现栈配置key  value
     */
    String SIP_LOG_MESSAGE_CONTENT_KEY = "gov.nist.javax.sip.LOG_MESSAGE_CONTENT";
    /**
     * 接收所有notify请求，即使没有订阅 true or false
     */
    String DELIVER_UNSOLICITED_NOTIFY_KEY = "gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY";
    /**
     * 为_NULL _对话框传递_终止的_事件
     */
    String DELIVER_TERMINATED_EVENT_FOR_NULL_DIALOG_KEY = "gov.nist.javax.sip.DELIVER_TERMINATED_EVENT_FOR_NULL_DIALOG";
    /**
     * 会话清理策略
     */
    String RELEASE_REFERENCES_STRATEGY_KEY = "gov.nist.javax.sip.RELEASE_REFERENCES_STRATEGY";
    String RELEASE_REFERENCES_STRATEGY_VALUE = "Normal";
    /**
     * 心跳超时时间
     */
    String RELIABLE_CONNECTION_KEEP_ALIVE_TIMEOUT_KEY = "gov.nist.javax.sip.RELIABLE_CONNECTION_KEEP_ALIVE_TIMEOUT";
    String AUTOMATIC_DIALOG_SUPPORT_KEY = "javax.sip.AUTOMATIC_DIALOG_SUPPORT";
    String AUTOMATIC_DIALOG_SUPPORT_VALUE = "off";

    String TRANSPORT_TCP = "TCP";
    String TRANSPORT_UDP = "UDP";

    String CONTENT_TYPE = "APPLICATION";
    String CONTENT_XML_TYPE = "MANSCDP+xml";

    String CONTENT_SDP_TYPE = "SDP";
    /**
     * 国标注册流代理app id
     */
    String APP_ID="rtp";
}
